package aor2.cpu.blockcontrol;

import java.util.HashMap;

public class MicroMemory {
	HashMap<Long, MicroInstruction> micromem;

	public MicroMemory() {
		super();
		micromem = new HashMap<Long, MicroInstruction>();
	}

	public void addMicroInstruction(long memadr, MicroInstruction mi) {
		micromem.put(memadr, mi);
	}

	public MicroInstruction getMicroInstruction(long memadr) {
		return micromem.get(new Long(memadr));
	}

}
